fn bfs(graph: &Graph, start: usize) -> Vec<usize> {  
    let mut visited = vec![];  
    // TODO: 使用队列实现  
    visited  
}  
#[test] fn test_bfs_order() { /* 验证遍历顺序 */ }  